<template>
    <div>
        <input v-if="type == 'text'" v-model="userName" type="text" name="userName" value="" v-bind:placeholder="text">
        <input v-if="type == 'password'" type="password">
    </div>
</template>

<script>
    export default {
        data() {
            return {
                userName : '',
                
            }
        },
        props: ['type', 'text']
    }
</script>